<?php include(TPL_PATH . '/admin/inc_header.php'); ?>
<?php include(TPL_PATH . '/admin/inc_top.php'); ?>

<form action="<?php p(HTTP_URL); ?>/index.php?m=admin&c=myself" method="post">
    <fieldset>
    	<legend>基本资料</legend>
    	
    	<?php if (!empty($strMsg)) { ?>
		<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<?php p($strMsg) ?>
		</div>
		<?php } elseif (!empty($strOk)) { ?>
    	<div class="alert alert-success">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<?php p($strOk) ?>
		</div>
    	<?php } ?>
		
    	<label for="id_nickname">昵称</label>
        <input type="text" name="nick_name" id="id_nickname" value="<?php p($arrData['nick_name']) ?>" />
    	<label for="id_email">Email</label>
        <input type="text" name="email" id="id_email" value="<?php p($arrData['email']) ?>" />
        <label for="id_phone">电话</label>
        <input type="text" name="phone" id="id_phone" value="<?php p($arrData['phone']) ?>" />
        <br />
        <input type="submit" class="btn btn-primary" name="sub_btn" value="保存" />
    </fieldset>
</form>

<?php include(TPL_PATH . '/admin/inc_bottom.php'); ?>
<?php include(TPL_PATH . '/admin/inc_footer.php'); ?>